package com.zlt.bkparking.service;

import com.zlt.bkparking.dto.ParkingDto;
import com.zlt.bkparking.dto.ParkingPriceDto;
import com.zlt.bkparking.vo.ParkingLotVO;
import com.zlt.bkparking.vo.ParkingVo;

import java.util.HashMap;
import java.util.List;

public interface ParkingService {
    boolean setPriceByPPD(ParkingPriceDto parkingPriceDto);

    boolean addParkingByDto(String username,ParkingDto parkingDto);

    List<ParkingVo> getInfo();

    List<ParkingVo> getInfo(Integer id);

    boolean setByDto(ParkingDto parkingDto);

    boolean delByDto(Integer id);

    /**
     * 停车场下拉框数据
     * @return 集合
     */
    List<HashMap<String,Object>> getSelectParking();

    List<ParkingLotVO> ParkingLots();
}
